package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class SequenceGeneratorMinvalueOption implements BasicSequenceGeneratorOption {

    private int beginIndex;
    private int endIndex;
    private boolean no;
    private SignedNumericLiteral sequenceGeneratorMinValue;

    public SequenceGeneratorMinvalueOption(int beginIndex,
                                           int endIndex,
                                           boolean no,
                                           SignedNumericLiteral sequenceGeneratorMinValue) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.no = no;
        this.sequenceGeneratorMinValue = sequenceGeneratorMinValue;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public boolean isNo() {
        return no;
    }

    public SignedNumericLiteral getSequenceGeneratorMinValue() {
        return sequenceGeneratorMinValue;
    }

}
